Class: RETS4R::Client::Links
- Inherits:
-
Hash
- Object
- Hash
- RETS4R::Client::Links
show all
- Defined in:
- lib/rets4r/client/links.rb
Instance Attribute Summary collapse
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from Hash
#assert_valid_keys, #extract!, #slice, #slice!, #stringify_keys, #stringify_keys!, #symbolize_keys, #symbolize_keys!
Instance Attribute Details
#logger ⇒ Object
Returns the value of attribute logger.
6
7
8
|
# File 'lib/rets4r/client/links.rb', line 6
def logger
@logger
end
|
Class Method Details
.from_login_url(login_url) ⇒ Object
7
8
9
10
11
|
# File 'lib/rets4r/client/links.rb', line 7
def self.from_login_url(login_url)
links = self.new
links['Login'] = URI.parse(login_url)
links
end
|
Instance Method Details
#action ⇒ Object
27
28
29
|
# File 'lib/rets4r/client/links.rb', line 27
def action
self['Action']
end
|
#login ⇒ Object
12
13
14
|
# File 'lib/rets4r/client/links.rb', line 12
def login
self['Login']
end
|
#logout ⇒ Object
15
16
17
|
# File 'lib/rets4r/client/links.rb', line 15
def logout
self['Logout']
end
|
18
19
20
|
# File 'lib/rets4r/client/links.rb', line 18
def metadata
self['GetMetadata']
end
|
#objects ⇒ Object
21
22
23
|
# File 'lib/rets4r/client/links.rb', line 21
def objects
self['GetObject']
end
|
#search ⇒ Object
24
25
26
|
# File 'lib/rets4r/client/links.rb', line 24
def search
self['Search']
end
|