Sha256: 1111eb74e0d5a098217fba0fb69291130c28761dafc0e69f7878e224b9432201
Contents?: true
Size: 634 Bytes
Versions: 3
Compression:
Stored size: 634 Bytes
Contents
class Gillbus module GetRequiredFields Gillbus.register self, :get_required_fields class Request < BaseRequest def path; '/online2/getRequiredFields' end attr_accessor :trip_id def params compact( tripId: trip_id, ) end end class Response < BaseResponse field :dictionary, :bool_dict field :baggage, Baggage parser do def bool_dict(val) return unless val result = {} val.each do |k, v| result[k.downcase.to_sym] = bool(v) end result end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
gillbus-0.20.8 | lib/gillbus/get_required_fields.rb |
gillbus-0.20.7 | lib/gillbus/get_required_fields.rb |
gillbus-0.20.6 | lib/gillbus/get_required_fields.rb |