Module: Github::NullParamsEncoder

Defined in:
lib/github_api2/null_encoder.rb

Overview

Skip encoding of the key nested parameters

Class Method Summary collapse

Class Method Details

.escape(s) ⇒ Object



17
18
19
# File 'lib/github_api2/null_encoder.rb', line 17

def self.escape(s)
  s.to_s
end

.unescape(s) ⇒ Object



21
22
23
# File 'lib/github_api2/null_encoder.rb', line 21

def self.unescape(s)
  s.to_s
end