Class: CapsuleCRM::Website

Inherits:
Child show all
Defined in:
lib/capsulecrm/website.rb

Instance Attribute Summary collapse

Attributes inherited from Child

#parent

Attributes inherited from Base

#id, #raw_data

Class Method Summary collapse

Methods inherited from Child

init_many, init_one, #initialize

Methods inherited from Base

#==, #errors, find, #initialize, last_response, #new_record?

Constructor Details

This class inherits a constructor from CapsuleCRM::Child

Instance Attribute Details

#urlObject

Returns the value of attribute url.



4
5
6
# File 'lib/capsulecrm/website.rb', line 4

def url
  @url
end

#web_addressObject

Returns the value of attribute web_address.



3
4
5
# File 'lib/capsulecrm/website.rb', line 3

def web_address
  @web_address
end

#web_serviceObject

Returns the value of attribute web_service.



5
6
7
# File 'lib/capsulecrm/website.rb', line 5

def web_service
  @web_service
end

Class Method Details

.xml_mapObject

nodoc



9
10
11
12
13
14
15
16
# File 'lib/capsulecrm/website.rb', line 9

def self.xml_map
  map = {
    'webAddress' => 'web_address',
    'url' => 'url',
    'webService' => 'web_service'
  }
  super.merge map
end