Class: Tagstand::Tap
- Inherits:
-
Object
- Object
- Tagstand::Tap
- Defined in:
- lib/tagstand/tap.rb
Overview
Represents a tap
Class Method Summary collapse
-
.list(args = {}) ⇒ Object
TODO: document this method Args: order, tag_name_prefix_filter, tag_data_type_filter, tag_number_filter, page, num_per_page.
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={}) = {query: {api_key: Tagstand.api_key}} .merge!(args) unless args.empty? response = Tagstand.get "/tap_list", Hashie::Mash.new(response) end |