Class: Gillbus::GetRequiredFields::Request

Inherits:
BaseRequest
  • Object
show all
Defined in:
lib/gillbus/get_required_fields.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from BaseRequest

#initialize, #method

Constructor Details

This class inherits a constructor from Gillbus::BaseRequest

Instance Attribute Details

#trip_idObject

Returns the value of attribute trip_id.



8
9
10
# File 'lib/gillbus/get_required_fields.rb', line 8

def trip_id
  @trip_id
end

Instance Method Details

#paramsObject



10
11
12
13
14
# File 'lib/gillbus/get_required_fields.rb', line 10

def params
  compact(
    tripId: trip_id,
  )
end

#pathObject



6
# File 'lib/gillbus/get_required_fields.rb', line 6

def path; '/online2/getRequiredFields' end