class GoCardless::Resources::Helper

Represents an instance of a helper resource returned from the API

Public Class Methods

new(object) click to toggle source

initialize a resource instance @param object [Hash] an object returned from the API

# File lib/gocardless-pro/resources/helper.rb, line 19
def initialize(object)
  @object = object
end

Public Instance Methods

to_h() click to toggle source

Provides the resource as a hash of all it’s readable attributes

# File lib/gocardless-pro/resources/helper.rb, line 24
def to_h
  @object
end