Class: DistributionWrappers::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/distribution_wrappers/_base.rb

Direct Known Subclasses

Backstitch, Email, HipChatWrapper, SlackWrapper

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#paramsObject

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