Class: Webmoney::Passport

Inherits:
Wmid
  • Object
show all
Defined in:
lib/passport.rb

Defined Under Namespace

Classes: Attribute

Constant Summary collapse

ALIAS =

Attestate types

100
FORMAL =
110
START =
120
PERSONAL =
130
PAYER =
135
CAPITALLER =
136
DEVELOPER =
140
REGISTRATOR =
150
GARANT =
170
SERVICE =
190
SERVICE2 =
200
OPERATOR =
300

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Wmid

#initialize, #wmid

Constructor Details

This class inherits a constructor from Webmoney::Wmid

Class Method Details

.workerObject



28
29
30
# File 'lib/passport.rb', line 28

def self.worker
  @@worker
end

.worker=(worker) ⇒ Object



24
25
26
# File 'lib/passport.rb', line 24

def self.worker= (worker)
  @@worker = worker
end

Instance Method Details

#attestatObject

memoize data



33
# File 'lib/passport.rb', line 33

def attestat; @attestat ||= getinfo[:attestat] end

#directoryObject



34
# File 'lib/passport.rb', line 34

def directory; @directory ||= getinfo[:directory] end

#full_accessObject



35
# File 'lib/passport.rb', line 35

def full_access; @full_access = getinfo[:full_access] end

#userinfoObject



36
# File 'lib/passport.rb', line 36

def userinfo; @userinfo ||= getinfo[:userinfo] end