Class: RETS4R::Client::Links

Inherits:
Hash
  • Object
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

#loggerObject

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.()
  links = self.new
  links['Login'] = URI.parse()
  links
end

Instance Method Details

#actionObject



27
28
29
# File 'lib/rets4r/client/links.rb', line 27

def action
  self['Action']
end

#loginObject



12
13
14
# File 'lib/rets4r/client/links.rb', line 12

def 
  self['Login']
end

#logoutObject



15
16
17
# File 'lib/rets4r/client/links.rb', line 15

def logout
  self['Logout']
end

#metadataObject



18
19
20
# File 'lib/rets4r/client/links.rb', line 18

def 
  self['GetMetadata']
end

#objectsObject



21
22
23
# File 'lib/rets4r/client/links.rb', line 21

def objects
  self['GetObject']
end

#searchObject



24
25
26
# File 'lib/rets4r/client/links.rb', line 24

def search
  self['Search']
end