class IronBank::Actions::Generate

Generate an on-demand invoice for a specific customer www.zuora.com/developer/api-reference/#operation/Action_POSTgenerate

Private Instance Methods

objects() click to toggle source
# File lib/iron_bank/actions/generate.rb, line 18
def objects
  IronBank::Object.new(args.fetch(:objects)).deep_camelize(type: :upper)
end
params() click to toggle source
# File lib/iron_bank/actions/generate.rb, line 11
def params
  {
    objects: objects,
    type:    type
  }
end
type() click to toggle source
# File lib/iron_bank/actions/generate.rb, line 22
def type
  IronBank::Utils.camelize(args.fetch(:type), type: :upper)
end