Class: Configs::Boats::CentralAgent::BoatList

Inherits:
Object
  • Object
show all
Defined in:
app/serializers/configs/boats/central_agent/boat_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/boats/central_agent/boat_list.rb', line 6

def self.attributes
  %i[
    id
    picture_medium_url
    name
    builder
    guests_total
    guest_cabins
    crew_total
    boat_length
    built_year
    boat_model
    boat_type
    location_address
    prices
    state
    visits_total
    visits_today
  ]
end