Sha256: a2344be80ee066ba5701d21c1b222703507400e11b6f071c10da3ad6b512d798

Contents?: true

Size: 360 Bytes

Versions: 23

Compression:

Stored size: 360 Bytes

Contents

module Sorenson
  module Services
    class Tag < Base      
      def self.all(order = nil)
        get_from("/tags#{"?order="+order if order}")
      end
      
      def self.find(tag_name)
        get_from("/tags/#{tag_name}")
      end
      
      def self.count
        get_from("/accounts/#{account_id}/tags/count")["count"]
      end
    end
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
360_services-1.1.3 lib/sorenson/services/tag.rb
360_services-1.1.2 lib/sorenson/services/tag.rb
360_services-1.1.1 lib/sorenson/services/tag.rb
360_services-1.0.10 lib/sorenson/services/tag.rb
360_services-1.1.0 lib/sorenson/services/tag.rb
360_services-1.0.9 lib/sorenson/services/tag.rb
360_services-1.0.8 lib/sorenson/services/tag.rb
360_services-1.0.7 lib/sorenson/services/tag.rb
360_services-1.0.6 lib/sorenson/services/tag.rb
360_services-1.0.5 lib/sorenson/services/tag.rb
360_services-1.0.4 lib/sorenson/services/tag.rb
360_services-1.0.3 lib/sorenson/services/tag.rb
360_services-1.0.2 lib/sorenson/services/tag.rb
360_services-0.0.8 lib/sorenson/services/tag.rb
360_services-0.0.7 lib/sorenson/services/tag.rb
360_services-0.0.6 lib/sorenson/services/tag.rb
360_services-0.0.5 lib/sorenson/services/tag.rb
360_services-1.0.1 lib/sorenson/services/tag.rb
360_services-1.0.0 lib/sorenson/services/tag.rb
360_services-0.0.4 lib/sorenson/services/tag.rb