Class: Heroku::Model::AppList
- Inherits:
-
ArrayProxy
- Object
- ArrayProxy
- Heroku::Model::AppList
- Includes:
- API::App
- Defined in:
- lib/heroku/model/app_list.rb
Constant Summary
Constants included from API::App
Instance Method Summary collapse
Methods included from API::App
#app, #delete_app, #new, #update_app
Methods inherited from ArrayProxy
#all, #initialize, #method_missing
Constructor Details
This class inherits a constructor from Heroku::Model::ArrayProxy
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Heroku::Model::ArrayProxy
Instance Method Details
#[](key) ⇒ Object
13 14 15 16 17 18 |
# File 'lib/heroku/model/app_list.rb', line 13 def [](key) case key when String, Symbol then app(key.to_s) else super(key) end end |
#inspect ⇒ Object
9 10 11 |
# File 'lib/heroku/model/app_list.rb', line 9 def inspect "#<Heroku::Model::Apps>" end |