Class: PlatformAPI::DynoSize
- Inherits:
-
Object
- Object
- PlatformAPI::DynoSize
- Defined in:
- lib/platform-api/client.rb
Overview
Dyno sizes are the values and details of sizes that can be assigned to dynos. This information can also be found at : https://devcenter.heroku.com/articles/dyno-types.
Instance Method Summary collapse
-
#info(dyno_size_id_or_dyno_size_name) ⇒ Object
Info for existing dyno size.
-
#initialize(client) ⇒ DynoSize
constructor
A new instance of DynoSize.
-
#list ⇒ Object
List existing dyno sizes.
Constructor Details
#initialize(client) ⇒ DynoSize
Returns a new instance of DynoSize.
1713 1714 1715 |
# File 'lib/platform-api/client.rb', line 1713 def initialize(client) @client = client end |
Instance Method Details
#info(dyno_size_id_or_dyno_size_name) ⇒ Object
Info for existing dyno size.
1720 1721 1722 |
# File 'lib/platform-api/client.rb', line 1720 def info(dyno_size_id_or_dyno_size_name) @client.dyno_size.info(dyno_size_id_or_dyno_size_name) end |
#list ⇒ Object
List existing dyno sizes.
1725 1726 1727 |
# File 'lib/platform-api/client.rb', line 1725 def list() @client.dyno_size.list() end |