Sha256: 5024508b151f677bcb22ac1a5e38dbf23ed873f2e60657d9e65260c103fc3bfb

Contents?: true

Size: 291 Bytes

Versions: 23

Compression:

Stored size: 291 Bytes

Contents

module Sorenson
  module Services
    class Flag < Base
      def self.all(order = nil)
        url = "/flags#{"?order="+order if order}"
        get_from(url)
      end
      
      def self.count
        get_from("/accounts/#{account_id}/flags/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/flag.rb
360_services-1.1.2 lib/sorenson/services/flag.rb
360_services-1.1.1 lib/sorenson/services/flag.rb
360_services-1.0.10 lib/sorenson/services/flag.rb
360_services-1.1.0 lib/sorenson/services/flag.rb
360_services-1.0.9 lib/sorenson/services/flag.rb
360_services-1.0.8 lib/sorenson/services/flag.rb
360_services-1.0.7 lib/sorenson/services/flag.rb
360_services-1.0.6 lib/sorenson/services/flag.rb
360_services-1.0.5 lib/sorenson/services/flag.rb
360_services-1.0.4 lib/sorenson/services/flag.rb
360_services-1.0.3 lib/sorenson/services/flag.rb
360_services-1.0.2 lib/sorenson/services/flag.rb
360_services-0.0.8 lib/sorenson/services/flag.rb
360_services-0.0.7 lib/sorenson/services/flag.rb
360_services-0.0.6 lib/sorenson/services/flag.rb
360_services-0.0.5 lib/sorenson/services/flag.rb
360_services-1.0.1 lib/sorenson/services/flag.rb
360_services-1.0.0 lib/sorenson/services/flag.rb
360_services-0.0.4 lib/sorenson/services/flag.rb