Class: Eship::ApiClient::ImmutableKey

Inherits:
String
  • Object
show all
Defined in:
lib/eship/api_client.rb

Overview

Monkey patch to avoid headers capitalization jatindhankhar.in/blog/custom-http-header-and-ruby-standard-library/

Instance Method Summary collapse

Instance Method Details

#capitalizeObject



22
23
24
# File 'lib/eship/api_client.rb', line 22

def capitalize 
  self 
end

#to_sObject Also known as: to_str



26
27
28
# File 'lib/eship/api_client.rb', line 26

def to_s
 self 
end