Class: Tagstand::Tap

Inherits:
Object
  • Object
show all
Defined in:
lib/tagstand/tap.rb

Overview

Represents a tap

Class Method Summary collapse

Class Method Details

.list(args = {}) ⇒ Object

TODO: document this method Args: order, tag_name_prefix_filter, tag_data_type_filter, tag_number_filter, page, num_per_page



11
12
13
14
15
16
# File 'lib/tagstand/tap.rb', line 11

def list(args={})
  options = {query: {api_key: Tagstand.api_key}}
  options.merge!(args) unless args.empty?
  response = Tagstand.get "/tap_list", options
  Hashie::Mash.new(response)
end