Class: Podio::TagSearch
- Inherits:
-
ActivePodio::Base
- Object
- ActivePodio::Base
- Podio::TagSearch
- Defined in:
- lib/podio/models/tag_search.rb
Instance Attribute Summary
Attributes inherited from ActivePodio::Base
#attributes, #error_code, #error_message, #error_parameters, #error_propagate
Class Method Summary collapse
Methods inherited from ActivePodio::Base
#==, #[], #[]=, #api_friendly_ref_type, #as_json, collection, delegate_to_hash, handle_api_errors_for, has_many, has_one, #hash, #initialize, list, member, #new_record?, #persisted?, property, #to_param
Constructor Details
This class inherits a constructor from ActivePodio::Base
Class Method Details
.search_by_space(space_id, text) ⇒ Object
9 10 11 12 |
# File 'lib/podio/models/tag_search.rb', line 9 def search_by_space(space_id, text) text = CGI.escape(text) if text list Podio.connection.get("/tag/space/#{space_id}/search/?text=#{text}").body end |