Class: BambooId::StateCode

Inherits:
Object
  • Object
show all
Defined in:
lib/bamboo_id/state_code.rb

Instance Method Summary collapse

Constructor Details

#initialize(subdomain) ⇒ StateCode

Returns a new instance of StateCode.



3
4
5
# File 'lib/bamboo_id/state_code.rb', line 3

def initialize(subdomain)
  self.subdomain = subdomain
end

Instance Method Details

#to_sObject



7
8
9
# File 'lib/bamboo_id/state_code.rb', line 7

def to_s
  Digest::MD5.hexdigest([Configuration.client_id, subdomain].join(''))
end