class Fastly

def get_invoice_by_id(id)

Return an Invoice object for the passed invoice ID
def get_invoice_by_id(id)
  opts = {
    id: id,
    customer_id: current_customer.id
  }
  get(Invoice, opts)
end