Method: Her::API#initialize
- Defined in:
- lib/her/api.rb
#initialize(*args, &blk) ⇒ API
Create a new API object. This is useful to create multiple APIs and use them with the uses_api method. If your application uses only one API, you should use Her::API.setup to configure the default API
29 30 31 |
# File 'lib/her/api.rb', line 29 def initialize(*args, &blk) setup(*args, &blk) end |