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-4.56.0 lib/recurly/resources.rb
recurly-4.55.0 lib/recurly/resources.rb
recurly-4.54.0 lib/recurly/resources.rb
recurly-4.53.0 lib/recurly/resources.rb
recurly-4.52.0 lib/recurly/resources.rb
recurly-4.49.0 lib/recurly/resources.rb
recurly-4.48.1 lib/recurly/resources.rb
recurly-4.48.0 lib/recurly/resources.rb
recurly-4.47.0 lib/recurly/resources.rb
recurly-4.46.0 lib/recurly/resources.rb
recurly-4.45.0 lib/recurly/resources.rb
recurly-4.44.0 lib/recurly/resources.rb
recurly-4.43.0 lib/recurly/resources.rb
recurly-4.42.0 lib/recurly/resources.rb
recurly-4.41.0 lib/recurly/resources.rb
recurly-4.40.0 lib/recurly/resources.rb
recurly-4.39.0 lib/recurly/resources.rb
recurly-4.38.0 lib/recurly/resources.rb
recurly-4.37.0 lib/recurly/resources.rb
recurly-3.28.0 lib/recurly/resources.rb