struct Haystack::BulkCharge::Endpoint

Included Modules

Defined in:

haystack/bulk_charge/endpoint.cr

Class Method Summary

Instance Method Summary

Constructor methods inherited from module Haystack::Endpoint

new(client : Haystack) new

Class Method Detail

def self.uri : URI #

[View source]

Instance Method Detail

def charges(id : String | Int, &) #

[View source]
def charges(id : String | Int) : Charge::List #

[View source]
def fetch(id : String | Int, &) #

[View source]
def fetch(id : String | Int) : Item #

[View source]
def initiate(charges : Array(NamedTuple), &) #

[View source]
def initiate(charges : Array(NamedTuple)) : Item #

[View source]
def list(**params, &) #

[View source]
def list(**params) : List #

[View source]
def pause(batch_code : String, &) #

[View source]
def pause(batch_code : String) : Item #

[View source]
def resume(batch_code : String, &) #

[View source]
def resume(batch_code : String) : Item #

[View source]