Method: Seatsio::ForSaleConfig.from_json
- Defined in:
- lib/seatsio/domain.rb
.from_json(data) ⇒ Object
56 57 58 59 60 |
# File 'lib/seatsio/domain.rb', line 56 def self.from_json(data) if data ForSaleConfig.new(data['forSale'], data['objects'], data['areaPlaces'], data['categories']) end end |