Sha256: fa47c34158dcdfb60b8b04f2e8e2fb23d46be112b5e32ae5cabb280c7cef0b77
Contents?: true
Size: 413 Bytes
Versions: 8
Compression:
Stored size: 413 Bytes
Contents
module Evvnt # Public: Returns contract info from the EVVNT API class Contract < Evvnt::Base ## # The JSON key for the package data from the API response. OBJECT_KEY = "package_options".freeze singular_resource! ## # GET /contract Get contract information define_action :index do api_request(:get, plural_resource_path, options: { object: OBJECT_KEY }) end end end
Version data entries
8 entries across 8 versions & 1 rubygems