Class: Configs::Lease::CentralAgent::InquiryList

Inherits:
Object
  • Object
show all
Defined in:
app/serializers/configs/lease/central_agent/inquiry_list.rb

Class Method Summary collapse

Class Method Details

.attributesObject

список атрибутов Заявки, которые видны Агенту в списке заявок



6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# File 'app/serializers/configs/lease/central_agent/inquiry_list.rb', line 6

def self.attributes
  [
    :id,
    :token,
    :is_skippered,
    :is_my_price,
    :my_price,
    :my_price_currency,
    :address,
    :period_formatted,
    :duration,
    :guests,
    :kids,
    :watersports,
    :need_transfer,
    :comments,
    :created_at,
    :boat_types
  ]
end