Class: ThaiPostTracking::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/thai_post_tracking/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



17
18
19
20
# File 'lib/thai_post_tracking/configuration.rb', line 17

def initialize
  @version = VERSION
  @thailand_post_token_key = "replace-with-your-token"
end

Instance Attribute Details

#thailand_post_tokenObject

Returns the value of attribute thailand_post_token.



14
15
16
# File 'lib/thai_post_tracking/configuration.rb', line 14

def thailand_post_token
  @thailand_post_token
end

#versionObject (readonly)

Returns the value of attribute version.



15
16
17
# File 'lib/thai_post_tracking/configuration.rb', line 15

def version
  @version
end