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-0.0.3 | lib/sorenson/services/flag.rb |
360_services-0.0.2 | lib/sorenson/services/flag.rb |
360_services-0.0.1 | lib/sorenson/services/flag.rb |