Class: ACTV::AssetFactory
- Inherits:
-
Object
- Object
- ACTV::AssetFactory
- Defined in:
- lib/actv/asset_factory.rb
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
- #asset ⇒ Object
-
#initialize(response_body) ⇒ AssetFactory
constructor
A new instance of AssetFactory.
Constructor Details
#initialize(response_body) ⇒ AssetFactory
Returns a new instance of AssetFactory.
5 6 7 |
# File 'lib/actv/asset_factory.rb', line 5 def initialize response_body @response = response_body end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
3 4 5 |
# File 'lib/actv/asset_factory.rb', line 3 def response @response end |