Class: Gillbus::Trip
- Inherits:
-
Object
- Object
- Gillbus::Trip
- Extended by:
- Fields
- Includes:
- UpdateAttrs
- Defined in:
- lib/gillbus/structs/trip.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
to hold unserialized data.
Class Method Summary collapse
-
.parse(doc, instance: nil, parent: nil, options: {}) ⇒ Object
rubocop:disable Lint/UnusedMethodArgument.
Methods included from Fields
Methods included from UpdateAttrs
Instance Attribute Details
#data ⇒ Object
to hold unserialized data
215 216 217 |
# File 'lib/gillbus/structs/trip.rb', line 215 def data @data end |
Class Method Details
.parse(doc, instance: nil, parent: nil, options: {}) ⇒ Object
rubocop:disable Lint/UnusedMethodArgument
218 219 220 221 222 223 |
# File 'lib/gillbus/structs/trip.rb', line 218 def self.parse(doc, instance: nil, parent: nil, options: {}) instance = super instance.data = doc instance. = TripOptions.build_blank if instance..nil? instance end |