class V2Intuity::Headers::Header
Constants
- HEADERS
Attributes
name[RW]
value[RW]
Public Class Methods
new(options = {})
click to toggle source
# File lib/v2_intuity/headers/header.rb, line 7 def initialize(options = {}) @name = options[:name] @value = options[:value] end
Public Instance Methods
to_hash()
click to toggle source
# File lib/v2_intuity/headers/header.rb, line 12 def to_hash { @name.to_sym => @value } end