Class: Tokens
- Inherits:
-
OpenPayResource
- Object
- OpenPayResource
- Tokens
- Defined in:
- lib/openpay/tokens.rb
Instance Attribute Summary
Attributes inherited from OpenPayResource
Instance Method Summary collapse
Methods inherited from OpenPayResource
#delete, #delete_all, #each, #env, #errors?, #get, #get_with_custom_url, #hash2json, #initialize, #json2hash, #list, #post, #put
Constructor Details
This class inherits a constructor from OpenPayResource
Instance Method Details
#getPoints(token_id) ⇒ Object
4 5 6 |
# File 'lib/openpay/tokens.rb', line 4 def getPoints(token_id) get("#{token_id}/points") end |