Sha256: 2b3dbed4ad126e60bdbc22033af910a969e8bc71ec6a7b9b081d711fe2d40987

Contents?: true

Size: 943 Bytes

Versions: 4

Compression:

Stored size: 943 Bytes

Contents

#    This file is part of RestConnection 
#
#    RestConnection is free software: you can redistribute it and/or modify
#    it under the terms of the GNU General Public License as published by
#    the Free Software Foundation, either version 3 of the License, or
#    (at your option) any later version.
#
#    RestConnection is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GNU General Public License for more details.
#
#    You should have received a copy of the GNU General Public License
#    along with RestConnection.  If not, see <http://www.gnu.org/licenses/>.

class Tag 
  include RightScale::Api::Base
  extend RightScale::Api::BaseExtend

  def self.search(resource_name, tags)
    result = connection.get("/tags/search", :resource_type => resource_name.to_s, :tags => tags )
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rest_connection-0.0.7 lib/rest_connection/rightscale/tag.rb
rest_connection-0.0.6 lib/rest_connection/rightscale/tag.rb
rest_connection-0.0.5 lib/rest_connection/rightscale/tag.rb
rest_connection-0.0.4 lib/rest_connection/rightscale/tag.rb