Module: ThaiPostTracking
- Defined in:
- lib/thai_post_tracking.rb,
lib/thai_post_tracking/version.rb,
lib/thai_post_tracking/configuration.rb,
lib/thai_post_tracking/thailand_post.rb,
lib/thai_post_tracking/thailand_post/request.rb,
lib/thai_post_tracking/thailand_post/get_items.rb,
lib/thai_post_tracking/thailand_post/hook_items.rb
Defined Under Namespace
Modules: ThailandPost Classes: Configuration
Constant Summary collapse
- VERSION =
"0.1.0".freeze
Class Attribute Summary collapse
-
.configuration ⇒ Object
Returns the value of attribute configuration.
Class Method Summary collapse
Class Attribute Details
.configuration ⇒ Object
Returns the value of attribute configuration.
5 6 7 |
# File 'lib/thai_post_tracking/configuration.rb', line 5 def configuration @configuration end |
Class Method Details
.configure {|configuration| ... } ⇒ Object
8 9 10 11 |
# File 'lib/thai_post_tracking/configuration.rb', line 8 def self.configure self.configuration ||= Configuration.new yield(configuration) end |