Class: DistributionWrappers::Base
- Inherits:
-
Object
- Object
- DistributionWrappers::Base
- Defined in:
- lib/distribution_wrappers/_base.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#params ⇒ Object
name: A descriptive name for the service (based upon the parameters passed) icon: An (optional) image to identify the service by (might be based upon the parameters passed) banner: An (optional) descriptive image provided by the service.
Instance Method Summary collapse
-
#initialize(params = {}, auth = nil) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(params = {}, auth = nil) ⇒ Base
Returns a new instance of Base.
13 14 15 16 |
# File 'lib/distribution_wrappers/_base.rb', line 13 def initialize(params={}, auth=nil) @auth = auth @params = params end |
Instance Attribute Details
#params ⇒ Object
name: A descriptive name for the service (based upon the parameters passed) icon: An (optional) image to identify the service by (might be based upon the parameters passed) banner: An (optional) descriptive image provided by the service
11 12 13 |
# File 'lib/distribution_wrappers/_base.rb', line 11 def params @params end |