Class: Portage::Ucp::Money

Inherits:
Data
  • Object
show all
Defined in:
lib/portage/ucp/value_objects.rb

Overview

Internal arithmetic helper only — never appears in a wire shape directly.

Instance Attribute Summary collapse

Instance Attribute Details

#amount_minorObject (readonly)

Returns the value of attribute amount_minor

Returns:

  • (Object)

    the current value of amount_minor



4
5
6
# File 'lib/portage/ucp/value_objects.rb', line 4

def amount_minor
  @amount_minor
end

#currencyObject (readonly)

Returns the value of attribute currency

Returns:

  • (Object)

    the current value of currency



4
5
6
# File 'lib/portage/ucp/value_objects.rb', line 4

def currency
  @currency
end