Sha256: e3f40db06f0a455ac83a8f96af81b1369a2685e3db77b3d415e89a3540191c90

Contents?: true

Size: 538 Bytes

Versions: 1

Compression:

Stored size: 538 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

1 entries across 1 versions & 1 rubygems

Version Path
eps-rapid-1.0.0 lib/eps-rapid/content.rb