class IEX::Resources::Dividends
Public Class Methods
new(data)
click to toggle source
Calls superclass method
# File lib/iex/resources/dividends.rb, line 14 def initialize(data) super # TODO: require Hashie >= 2.5.8, see https://github.com/intridea/hashie/pull/457 self['amount_dollar'] = Resource.to_dollar(amount: amount, ignore_cents: false) end