Class: Finix::PaymentCard

Inherits:
PaymentInstrument show all
Defined in:
lib/finix/resources/payment_card.rb

Instance Attribute Summary

Attributes included from HalResource

#attributes, #hyperlinks

Instance Method Summary collapse

Methods inherited from PaymentInstrument

hypermedia_subtype

Methods included from Verifiable

#verify

Methods included from HypermediaRegistry

included

Methods included from Resource

#copy_from, #fetch, #hydrate, included, #refresh, #sanitize, #save, #to_s

Methods included from HalResource

#load_page_from_response!, #method_missing

Constructor Details

#initialize(attributes = {}, self_href = nil) ⇒ PaymentCard

Returns a new instance of PaymentCard.



4
5
6
7
# File 'lib/finix/resources/payment_card.rb', line 4

def initialize(attributes = {}, self_href = nil)
  super(attributes, self_href)
  self.type = 'PAYMENT_CARD'
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Finix::HalResource