Sha256: 9dde7e4ef57b77ca840da0e08facdc4b4f59875a718dfe6cb24d7e9c8e158e77

Contents?: true

Size: 404 Bytes

Versions: 4

Compression:

Stored size: 404 Bytes

Contents

module Datahen
  module Client
    class GlobalPage < Datahen::Client::Base
      def find(gid)
        self.class.get("/global_pages/#{gid}", @options)
      end

      def find_content(gid)
        self.class.get("/global_pages/#{gid}/content", @options)
      end

      def find_failed_content(gid)
        self.class.get("/global_pages/#{gid}/failed_content", @options)
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
datahen-0.11.2 lib/datahen/client/global_page.rb
datahen-0.11.1 lib/datahen/client/global_page.rb
datahen-0.11.0 lib/datahen/client/global_page.rb
datahen-0.10.4 lib/datahen/client/global_page.rb