module Mollie::Util

Defined in:

mollie/util.cr

Class Method Summary

Class Method Detail

def self.amount_with_decimals(amount : BigDecimal | AmountValue, currency : String) #

[View source]
def self.build_nested_query(value : Hash(String | Symbol, Array(String) | Array(Hash) | Int32 | String) | NamedTuple, prefix : String | Nil = nil) #

[View source]
def self.build_nested_query(value : Array(String) | Array(Hash), prefix : String | Nil = nil) #

[View source]
def self.build_nested_query(value : Int32 | String, prefix : String) #

[View source]
def self.build_nested_query(value : Nil, prefix : String | Nil = nil) #

[View source]
def self.camelize_key(name : String | Symbol) #

[View source]
def self.camelize_keys(hash : Hash) #

[View source]
def self.extract_id(href : String) #

[View source]
def self.query_from_href(href : String) #

[View source]
def self.stringify_keys(value : Hash | NamedTuple) #

[View source]
def self.version_string #

[View source]