Class: Mollie::Method

Inherits:
Base
  • Object
show all
Defined in:
lib/mollie/method.rb

Constant Summary collapse

APPLEPAY =
'applepay'.freeze
BANCONTACT =
'bancontact'.freeze
BANKTRANSFER =
'banktransfer'.freeze
BELFIUS =
'belfius'.freeze
CREDITCARD =
'creditcard'.freeze
DIRECTDEBIT =
'directdebit'.freeze
EPS =
'eps'.freeze
GIFTCARD =
'giftcard'.freeze
GIROPAY =
'giropay'.freeze
IDEAL =
'ideal'.freeze
INGHOMEPAY =
'inghomepay'.freeze
KBC =
'kbc'.freeze
PAYPAL =
'paypal'.freeze
PAYSAFECARD =
'paysafecard'.freeze
PRZELEWY24 =
'przelewy24'.freeze
SOFORT =
'sofort'.freeze
KLARNASLICEIT =
'klarnasliceit'.freeze
KLARNAPAYLATER =
'klarnapaylater'.freeze

Instance Attribute Summary collapse

Attributes inherited from Base

#attributes

Instance Method Summary collapse

Methods inherited from Base

all, #assign_attributes, cancel, create, #delete, delete, get, id_param, #initialize, parent_id, request, resource_name, update, #update

Constructor Details

This class inherits a constructor from Mollie::Base

Instance Attribute Details

#descriptionObject

Returns the value of attribute description.



22
23
24
# File 'lib/mollie/method.rb', line 22

def description
  @description
end

#idObject

Returns the value of attribute id.



22
23
24
# File 'lib/mollie/method.rb', line 22

def id
  @id
end

#imageObject

Returns the value of attribute image.



22
23
24
# File 'lib/mollie/method.rb', line 22

def image
  @image
end

#issuersObject

Returns the value of attribute issuers.



22
23
24
# File 'lib/mollie/method.rb', line 22

def issuers
  @issuers
end

#maximum_amountObject

Returns the value of attribute maximum_amount.



22
23
24
# File 'lib/mollie/method.rb', line 22

def maximum_amount
  @maximum_amount
end

#minimum_amountObject

Returns the value of attribute minimum_amount.



22
23
24
# File 'lib/mollie/method.rb', line 22

def minimum_amount
  @minimum_amount
end

Instance Method Details

#bigger_imageObject



41
42
43
# File 'lib/mollie/method.rb', line 41

def bigger_image
  image['size2x']
end

#normal_imageObject



37
38
39
# File 'lib/mollie/method.rb', line 37

def normal_image
  image['size1x']
end