class Flashboy::Order

Attributes

amount[R]
price[R]
type[R]

Public Class Methods

new(attrs = {}) click to toggle source
# File lib/flashboy/order.rb, line 5
def initialize(attrs = {})
  @price = attrs[:price].to_s.to_f
  @amount = attrs[:amount].to_s.to_f
end