Sha256: 6aa8fc7ba93fd7e5690538ed2c3103e983a7685f163b4e19981840f216c3ac64
Contents?: true
Size: 391 Bytes
Versions: 1
Compression:
Stored size: 391 Bytes
Contents
module Globase class ListSegment < NestedResource class << self def all(parent, params = {}) send_request(parent, :get, params).collect do |d| r = new( d.merge({ parent: parent }) ) r.persisted = true end end def collection_name :segments end def fields @fields = super end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
globase-0.0.0.pre3 | lib/globase/list_segment.rb |