class Chaindotcom::Address
Attributes
hash[RW]
Public Class Methods
new(attributes={})
click to toggle source
# File lib/chaindotcom/address.rb, line 44 def initialize(attributes={}) attributes.each do |key, value| public_send("#{key}=", value) end @data_source ||= Chaindotcom::AddressMapper.new end
Public Instance Methods
==(other)
click to toggle source
# File lib/chaindotcom/address.rb, line 55 def ==(other) other.is_a?(Address) && other.hash == hash end
to_s()
click to toggle source
# File lib/chaindotcom/address.rb, line 51 def to_s inspect end