Class: SharedCustomer

Inherits:
ApplicationRecord show all
Defined in:
app/models/shared_customer.rb

Overview

typed: ignore this class contains shared data between User and Reservation

if the value is false, then user name on review page/section will be hidden

Instance Attribute Summary collapse

Method Summary

Methods inherited from ApplicationRecord

sync_carrierwave_url

Instance Attribute Details

#disclose_reviewObject

Returns the current value of disclose_review.

Returns:

  • (Object)

    the current value of disclose_review



6
7
8
# File 'app/models/shared_customer.rb', line 6

def disclose_review
  @disclose_review
end