class GoCardlessPro::Resources::PayerTheme
Custom colour themes for payment pages and customer notifications.
Attributes
Public Class Methods
Source
# File lib/gocardless_pro/resources/payer_theme.rb, line 19 def initialize(object, response = nil) @object = object @id = object['id'] @response = response end
Initialize a payer_theme resource instance @param object [Hash] an object returned from the API
Public Instance Methods
Source
# File lib/gocardless_pro/resources/payer_theme.rb, line 26 def api_response ApiResponse.new(@response) end
Source
# File lib/gocardless_pro/resources/payer_theme.rb, line 31 def to_h @object end
Provides the payer_theme resource as a hash of all its readable attributes