Class: FBomb::Flowdock::Object

Inherits:
Object
  • Object
show all
Defined in:
lib/fbomb/flowdock.rb

Direct Known Subclasses

Flow, Organization, Token

Instance Method Summary collapse

Constructor Details

#initialize(name, flowdock) ⇒ Object

Returns a new instance of Object.



35
36
37
38
# File 'lib/fbomb/flowdock.rb', line 35

def initialize(name, flowdock)
  @name = name.to_s.strip.downcase
  @flowdock = flowdock
end

Instance Method Details

#to_sObject



40
41
42
# File 'lib/fbomb/flowdock.rb', line 40

def to_s
  name
end

#to_strObject



44
45
46
# File 'lib/fbomb/flowdock.rb', line 44

def to_str
  name
end