Sha256: 8705a0907fd6a8c287deae0c77952cc9ee0d36271c257f8aa010ea0aba81b9fb

Contents?: true

Size: 449 Bytes

Versions: 89

Compression:

Stored size: 449 Bytes

Contents

# Include all resource files
resources = File.join(File.dirname(__FILE__), "resources", "*.rb")
Dir.glob(resources, &method(:require))

module Recurly
  module Resources
    class Empty < Resource
    end

    class Page < Resource
      # leave data untyped
      define_attribute :data, Array, item_type: Hash
      define_attribute :has_more, :Boolean
      define_attribute :next, String
      define_attribute :object, String
    end
  end
end

Version data entries

89 entries across 89 versions & 1 rubygems

Version Path
recurly-3.22.0 lib/recurly/resources.rb
recurly-4.21.1 lib/recurly/resources.rb
recurly-4.21.0 lib/recurly/resources.rb
recurly-4.20.0 lib/recurly/resources.rb
recurly-3.21.0 lib/recurly/resources.rb
recurly-4.19.0 lib/recurly/resources.rb
recurly-3.20.0 lib/recurly/resources.rb
recurly-4.18.0 lib/recurly/resources.rb
recurly-4.17.0 lib/recurly/resources.rb
recurly-3.19.0 lib/recurly/resources.rb
recurly-4.15.0 lib/recurly/resources.rb
recurly-4.14.0 lib/recurly/resources.rb
recurly-4.13.0 lib/recurly/resources.rb
recurly-4.12.0 lib/recurly/resources.rb
recurly-4.11.0 lib/recurly/resources.rb
recurly-4.10.0 lib/recurly/resources.rb
recurly-4.9.0 lib/recurly/resources.rb
recurly-4.8.0 lib/recurly/resources.rb
recurly-4.7.0 lib/recurly/resources.rb
recurly-4.6.0 lib/recurly/resources.rb