Sha256: 6fbb31e20b0663f9558129f98d8af2f580abaead284008d794f4d359a9f0c90d

Contents?: true

Size: 323 Bytes

Versions: 25

Compression:

Stored size: 323 Bytes

Contents

module JSONAPIonify::Api
  class HeaderOptions

    attr_reader :name, :actions, :required, :documented

    def initialize(name, actions: nil, required: false, documented: true)
      @name       = name
      @actions    = Array.wrap(actions)
      @required   = required
      @documented = documented
    end

  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
jsonapionify-0.10.0 lib/jsonapionify/api/header_options.rb
jsonapionify-0.9.3 lib/jsonapionify/api/header_options.rb
jsonapionify-0.9.2 lib/jsonapionify/api/header_options.rb
jsonapionify-0.9.1 lib/jsonapionify/api/header_options.rb
jsonapionify-0.9.0 lib/jsonapionify/api/header_options.rb