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.12.10 lib/jsonapionify/api/header_options.rb
jsonapionify-0.12.9 lib/jsonapionify/api/header_options.rb
jsonapionify-0.12.8 lib/jsonapionify/api/header_options.rb
jsonapionify-0.12.7 lib/jsonapionify/api/header_options.rb
jsonapionify-0.12.5 lib/jsonapionify/api/header_options.rb
jsonapionify-0.12.4 lib/jsonapionify/api/header_options.rb
jsonapionify-0.12.3 lib/jsonapionify/api/header_options.rb
jsonapionify-0.12.2 lib/jsonapionify/api/header_options.rb
jsonapionify-0.12.1 lib/jsonapionify/api/header_options.rb
jsonapionify-0.12.0 lib/jsonapionify/api/header_options.rb
jsonapionify-0.11.11 lib/jsonapionify/api/header_options.rb
jsonapionify-0.11.10 lib/jsonapionify/api/header_options.rb
jsonapionify-0.11.9 lib/jsonapionify/api/header_options.rb
jsonapionify-0.11.8 lib/jsonapionify/api/header_options.rb
jsonapionify-0.11.7 lib/jsonapionify/api/header_options.rb
jsonapionify-0.11.6 lib/jsonapionify/api/header_options.rb
jsonapionify-0.11.5 lib/jsonapionify/api/header_options.rb
jsonapionify-0.11.0 lib/jsonapionify/api/header_options.rb
jsonapionify-0.10.2 lib/jsonapionify/api/header_options.rb
jsonapionify-0.10.1 lib/jsonapionify/api/header_options.rb