Class: ThaiPostTracking::ThailandPost::GetItems

Inherits:
Request
  • Object
show all
Defined in:
lib/thai_post_tracking/thailand_post/get_items.rb

Instance Method Summary collapse

Methods inherited from Request

#get_token, #response, #token, #token_header, #token_string

Constructor Details

#initializeGetItems

Returns a new instance of GetItems.



6
7
8
9
# File 'lib/thai_post_tracking/thailand_post/get_items.rb', line 6

def initialize
  @token_url   = "/post/api/v1/authenticate/token"
  @request_url = "/post/api/v1/track"
end