Module: Octopush
- Defined in:
- lib/octopush-ruby.rb,
lib/octopush-ruby/sms.rb,
lib/octopush-ruby/client.rb,
lib/octopush-ruby/constants.rb,
lib/octopush-ruby/configuration.rb
Defined Under Namespace
Classes: Client, Configuration, Constants, SMS
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.
7 8 9 |
# File 'lib/octopush-ruby.rb', line 7 def configuration @configuration end |
Class Method Details
.configure {|configuration| ... } ⇒ Object
10 11 12 13 |
# File 'lib/octopush-ruby.rb', line 10 def self.configure self.configuration ||= Configuration.new yield(configuration) end |