Class: ThaiPostTracking::Configuration
- Inherits:
-
Object
- Object
- ThaiPostTracking::Configuration
- Defined in:
- lib/thai_post_tracking/configuration.rb
Instance Attribute Summary collapse
-
#thailand_post_token ⇒ Object
Returns the value of attribute thailand_post_token.
-
#version ⇒ Object
readonly
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
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_token ⇒ Object
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 |
#version ⇒ Object (readonly)
Returns the value of attribute version.
15 16 17 |
# File 'lib/thai_post_tracking/configuration.rb', line 15 def version @version end |