Sha256: 7ec99a3e2f0cc2b22d9fccc61de240517d4740d3ef99a0119dd2ca68c728889f
Contents?: true
Size: 427 Bytes
Versions: 11
Compression:
Stored size: 427 Bytes
Contents
module NNEClient class Ownership extend NNEClient::ResultAttributes attributes :name, :country def initialize(ownership_hash) @hash = ownership_hash end def share @hash[:share].strip end def ==(other) share == other.share && name == other.name && country == other.country end def company Result.new(:tdc_id => @hash[:tdc_id]) end end end
Version data entries
11 entries across 11 versions & 1 rubygems