Class: HelloBlock::Address

Inherits:
Object
  • Object
show all
Extended by:
Query
Includes:
Endpoints
Defined in:
lib/helloblock/resources/address.rb

Constant Summary

Constants included from APIParameters

HelloBlock::APIParameters::API_PARAMETERS

Constants included from Endpoints

Endpoints::ENDPOINTS

Class Method Summary collapse

Methods included from Query

[], []=, default_query, determine_parent_resource, find, inspect, last, offset, parent_class, query, to_hash, where

Methods included from Endpoints

#base_url, #version_path

Class Method Details

.unspentsObject



9
10
11
12
13
# File 'lib/helloblock/resources/address.rb', line 9

def self.unspents
  query[:path] += ENDPOINTS[:unspents]
  query[:path].squeeze!('/')
  self
end