Sha256: 887efafe0b327f72f66208bf6f36bae7ee5c61b7748fab347deaeb46f3e656fc

Contents?: true

Size: 554 Bytes

Versions: 7

Compression:

Stored size: 554 Bytes

Contents

# frozen_string_literal: true

module EpsRapid
  class Content
    def self.content_list(**params)
      EpsRapid::Client.get('properties/content', params)
    end

    def self.guest_review(property_id)
      EpsRapid::Client.get("properties/#{property_id}/guest-reviews", {})
    end

    def self.catalog_file
      EpsRapid::Client.get('files/properties/catalog', {})
    end

    def self.content_file
      EpsRapid::Client.get('files/properties/content', {})
    end

    def self.chains
      EpsRapid::Client.get('chains', {})
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
eps-rapid-1.2.1 lib/eps-rapid/content.rb
eps-rapid-1.2.0 lib/eps-rapid/content.rb
eps-rapid-1.1.3 lib/eps-rapid/content.rb
eps-rapid-1.1.2 lib/eps-rapid/content.rb
eps-rapid-1.1.1 lib/eps-rapid/content.rb
eps-rapid-1.1.0 lib/eps-rapid/content.rb
eps-rapid-1.0.1 lib/eps-rapid/content.rb