Class: Mollie::Permission

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

Constant Summary collapse

AVAILABLE =
%w[
  payments.read
  payments.write
  refunds.read
  refunds.write
  customers.read
  customers.write
  mandates.read
  mandates.write
  subscriptions.read
  subscriptions.write
  profiles.read
  profiles.write
  invoices.read
  settlements.read
  organizations.read
  organizations.write
].freeze

Instance Attribute Summary collapse

Attributes inherited from Base

#attributes

Method Summary

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/permission.rb', line 22

def description
  @description
end

#grantedObject

Returns the value of attribute granted.



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

def granted
  @granted
end

#idObject

Returns the value of attribute id.



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

def id
  @id
end