Class: Mailfloss::Resources::Base Private
- Inherits:
-
Object
- Object
- Mailfloss::Resources::Base
- Defined in:
- lib/mailfloss/resources.rb,
sig/resources.rbs
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Direct Known Subclasses
Account, BatchVerify, Connections, Erasures, Integrations, Jobs, Keywords, Organization, Reports, Users
Instance Attribute Summary collapse
- #client ⇒ Client readonly private
Instance Method Summary collapse
- #encode(segment) ⇒ String private
-
#initialize(client) ⇒ Base
constructor
private
A new instance of Base.
Constructor Details
#initialize(client) ⇒ Base
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of Base.
7 8 9 |
# File 'lib/mailfloss/resources.rb', line 7 def initialize(client) @client = client end |
Instance Attribute Details
#client ⇒ Client (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
13 14 15 |
# File 'lib/mailfloss/resources.rb', line 13 def client @client end |
Instance Method Details
#encode(segment) ⇒ String
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
15 16 17 |
# File 'lib/mailfloss/resources.rb', line 15 def encode(segment) URI.encode_www_form_component(segment.to_s) end |