Sha256: 35f9b20b85c8be6fe270e45a88f18db40700b097aab78f631a9690979c6be3cd

Contents?: true

Size: 182 Bytes

Versions: 18

Compression:

Stored size: 182 Bytes

Contents

module ActionKitRest
  class Page < Vertebrae::Model
    def list
      client.get_request("page/")
    end

    def get(id)
      client.get_request("page/#{id}/")
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
action_kit_rest-0.4.4 lib/action_kit_rest/page.rb
action_kit_rest-0.4.3 lib/action_kit_rest/page.rb
action_kit_rest-0.4.2 lib/action_kit_rest/page.rb
action_kit_rest-0.4.1 lib/action_kit_rest/page.rb
action_kit_rest-0.4.0 lib/action_kit_rest/page.rb
action_kit_rest-0.3.8 lib/action_kit_rest/page.rb
action_kit_rest-0.3.7 lib/action_kit_rest/page.rb
action_kit_rest-0.3.6 lib/action_kit_rest/page.rb
action_kit_rest-0.3.5 lib/action_kit_rest/page.rb
action_kit_rest-0.3.4 lib/action_kit_rest/page.rb
action_kit_rest-0.3.3 lib/action_kit_rest/page.rb
action_kit_rest-0.3.2 lib/action_kit_rest/page.rb
action_kit_rest-0.3.1 lib/action_kit_rest/page.rb
action_kit_rest-0.3.0 lib/action_kit_rest/page.rb
action_kit_rest-0.2.2 lib/action_kit_rest/page.rb
action_kit_rest-0.2.1 lib/action_kit_rest/page.rb
action_kit_rest-0.2.0 lib/action_kit_rest/page.rb
action_kit_rest-0.1.1 lib/action_kit_rest/page.rb