Class: CorePro::Transaction

Inherits:
Resource
  • Object
show all
Defined in:
lib/core_pro.rb

Overview

Transaction endpoint resource

Class Method Summary collapse

Methods inherited from Resource

all, create, error_response?, extract_error, find, objectify, #reload, #resource_id, update

Class Method Details

.by_tag(*id_or_ids) ⇒ Object

By-tag finder method

Parameters:

  • id_or_ids (String)

    resource indentifiers

  • params (Hash)

    URI parameters to pass to the endpoint.

Returns:

  • (Object)

    instance



162
163
164
# File 'lib/core_pro.rb', line 162

def self.by_tag(*id_or_ids)
  objectify(request(:get, uri(:getByTag, *id_or_ids)))
end