Class: Payjp::Account

Inherits:
APIResource show all
Defined in:
lib/payjp/account.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from APIResource

class_name, #refresh, url

Methods included from Payjp::APIOperations::Request

included

Methods inherited from PayjpObject

#[], #[]=, #_dump, _load, #as_json, construct_from, #each, #initialize, #inspect, #keys, #refresh_from, #respond_to?, #serialize_nested_object, serialize_params, #to_hash, #to_json, #to_s, #values

Constructor Details

This class inherits a constructor from Payjp::PayjpObject

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Payjp::PayjpObject

Class Method Details

.retrieveObject



7
8
9
# File 'lib/payjp/account.rb', line 7

def self.retrieve
  super(Object.new)
end

Instance Method Details

#urlObject



3
4
5
# File 'lib/payjp/account.rb', line 3

def url
  '/v1/accounts'
end