Class: NoyoApi::Api
- Inherits:
-
Object
- Object
- NoyoApi::Api
- Defined in:
- lib/noyo_api/api.rb
Class Method Summary collapse
Class Method Details
.config ⇒ Object
9 10 11 |
# File 'lib/noyo_api/api.rb', line 9 def self.config @@config ||= Configuration.new end |
.configure {|@@config| ... } ⇒ Object
3 4 5 6 7 |
# File 'lib/noyo_api/api.rb', line 3 def self.configure @@config ||= Configuration.new yield(@@config) if block_given? @@config end |