diff options
| author | mo <mo@mokhan.ca> | 2018-05-07 15:23:33 -0600 |
|---|---|---|
| committer | mo <mo@mokhan.ca> | 2018-05-07 15:23:33 -0600 |
| commit | 6bb6fdb072c576a4d80e0e1869049ea122738695 (patch) | |
| tree | d2f6b92afbc206a5c84e5fe807cf7e25dc9ad1eb /lib | |
| parent | 54ab2db6336b1116927200d6afc25e2af35282c8 (diff) | |
do not accept default headers in ctor.v0.1.2
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/net/hippie/client.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/net/hippie/client.rb b/lib/net/hippie/client.rb index 0433c02..43ff407 100644 --- a/lib/net/hippie/client.rb +++ b/lib/net/hippie/client.rb @@ -8,14 +8,13 @@ module Net } def initialize( - headers: {}, certificate: nil, key: nil, passphrase: nil, mapper: JsonMapper.new ) @certificate = certificate - @default_headers = DEFAULT_HEADERS.merge(headers) + @default_headers = DEFAULT_HEADERS @key = key @mapper = mapper end |
