class TortoiseLabs::Item

Attributes

btc_price[R]
description[R]
entry_ts[R]
invoice[R]
line_item[R]
price[R]
service[R]

Public Class Methods

new(ihash) click to toggle source
# File lib/tortoiselabs/billing.rb, line 51
def initialize(ihash)
  @btc_price, @price = ihash["btc_price"], ihash["price"]
  @description, @line_item = ihash["description"], ihash["line_item"]
  @entry_ts, @invoice = ihash["entry_ts"], ihash["invoice"]
  @service = ihash["service"]
end