Module: JsonApiClient::Helpers::URI

Included in:
Associations::BelongsTo::Association, Query::Requestor
Defined in:
lib/json_api_client/helpers/uri.rb

Instance Method Summary collapse

Instance Method Details

#encode_part(part) ⇒ Object



4
5
6
# File 'lib/json_api_client/helpers/uri.rb', line 4

def encode_part(part)
  Addressable::URI.encode_component(part, Addressable::URI::CharacterClasses::UNRESERVED)
end