abstract struct Mollie::Base::Resource

Included Modules

Direct Known Subclasses

Defined in:

mollie/base/resource.cr

Constructors

Class Method Summary

Instance Method Summary

Macro Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

Class Method Detail

def self.all(options : Hash | NamedTuple = HS2.new, client : Client = Client.instance) #

[View source]
def self.cancel(id : String, data : Hash | NamedTuple = HS2.new, client : Client = Client.instance) #

[View source]
def self.create(data : Hash | NamedTuple, options : Hash | NamedTuple = HS2.new, client : Client = Client.instance) #

[View source]
def self.delete(id : String, data : Hash | NamedTuple = HS2.new, client : Client = Client.instance) #

[View source]
def self.get(id : String, options : Hash | NamedTuple = HS2.new, client : Client = Client.instance) #

[View source]
def self.id_param #

[View source]
def self.parent_param #

[View source]
def self.resource_name(parent_id : String | Nil = nil) #

[View source]
def self.update(id : String, data : Hash | NamedTuple, client : Client = Client.instance) #

[View source]

Instance Method Detail

def cancel(data : Hash | NamedTuple = HS2.new, client : Client = Client.instance) #

[View source]
def delete(data : Hash | NamedTuple = HS2.new, client : Client = Client.instance) #

[View source]
def update(data : Hash | NamedTuple, client : Client = Client.instance) #

[View source]

Macro Detail

macro status_enum_methods #

[View source]