Class: RPXNow::UserProxy
- Inherits:
-
Object
- Object
- RPXNow::UserProxy
- Defined in:
- lib/rpx_now/user_proxy.rb
Instance Method Summary collapse
- #identifiers ⇒ Object
-
#initialize(id) ⇒ UserProxy
constructor
A new instance of UserProxy.
- #map(identifier) ⇒ Object
- #unmap(identifier) ⇒ Object
Constructor Details
#initialize(id) ⇒ UserProxy
Returns a new instance of UserProxy.
3 4 5 |
# File 'lib/rpx_now/user_proxy.rb', line 3 def initialize(id) @id = id end |
Instance Method Details
#identifiers ⇒ Object
7 8 9 |
# File 'lib/rpx_now/user_proxy.rb', line 7 def identifiers RPXNow.mappings(@id) end |
#map(identifier) ⇒ Object
11 12 13 |
# File 'lib/rpx_now/user_proxy.rb', line 11 def map(identifier) RPXNow.map(identifier, @id) end |
#unmap(identifier) ⇒ Object
15 16 17 |
# File 'lib/rpx_now/user_proxy.rb', line 15 def unmap(identifier) RPXNow.unmap(identifier, @id) end |