Sha256: abc39617a0f03c7a6a3480aa2995a5cf122b4d7016358d401d413189f02c289e

Contents?: true

Size: 582 Bytes

Versions: 2

Compression:

Stored size: 582 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(**params)
      EpsRapid::Client.get('files/properties/catalog', params)
    end

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

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
eps-rapid-1.4.0 lib/eps-rapid/content.rb
eps-rapid-1.3.0 lib/eps-rapid/content.rb