Sha256: b85ac2636190ec9b56e1203d07a12236669b5e0678827192ffdfa10112e61d5c

Contents?: true

Size: 637 Bytes

Versions: 5

Compression:

Stored size: 637 Bytes

Contents

# frozen_string_literal: true

module CloudParty
  # base module to have responses from the API be parents of,
  # all response nodes (read: endpoints) are to have their own autoload line
  # if an endpoint has numerous uses, like Zones and its dns_records endpoint
  # a sane class is to be used instead, e.g. .../zones/#!{zone_id}/dns_records ->
  # {Responses::DnsRecords} or {Responses::Zones_DnsRecords}
  module Responses
    autoload :Memberships, 'cloud_party/responses/memberships'
    autoload :IPs, 'cloud_party/responses/ips'
    autoload :Zones, 'cloud_party/responses/zones'

    module ResponseMethods

    end
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
cloud_party-0.1.5 lib/cloud_party/responses.rb
cloud_party-0.1.4 lib/cloud_party/responses.rb
cloud_party-0.1.3 lib/cloud_party/responses.rb
cloud_party-0.1.2 lib/cloud_party/responses.rb
cloud_party-0.1.1 lib/cloud_party/responses.rb