Class: RPXNow::UserProxy

Inherits:
Object
  • Object
show all
Defined in:
lib/rpx_now/user_proxy.rb

Instance Method Summary collapse

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

#identifiersObject


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