Class: BaseCRM::Account

Inherits:
Model
  • Object
show all
Defined in:
lib/basecrm/models/account.rb

Instance Attribute Summary collapse

Instance Attribute Details

#created_atDateTime (readonly)

Returns Date and time of the account's creation in UTC (ISO8601 format).

Returns:

  • (DateTime)

    Date and time of the account's creation in UTC (ISO8601 format).


# File 'lib/basecrm/models/account.rb', line 5

#currencyString

Returns Currency of the account as the 3-character currency code in ISO4217 format.

Returns:

  • (String)

    Currency of the account as the 3-character currency code in ISO4217 format.


# File 'lib/basecrm/models/account.rb', line 30

#idInteger (readonly)

Returns Unique identifier of the account.

Returns:

  • (Integer)

    Unique identifier of the account.


# File 'lib/basecrm/models/account.rb', line 5

#nameString

Returns Full name of the account.

Returns:

  • (String)

    Full name of the account.


# File 'lib/basecrm/models/account.rb', line 30

#phoneString

Returns Contact phone number of the account.

Returns:

  • (String)

    Contact phone number of the account.


# File 'lib/basecrm/models/account.rb', line 30

#time_formatString

Returns Time format used for the account. Either 12-hour clock `12H` or 24-hour clock `24H`.

Returns:

  • (String)

    Time format used for the account. Either 12-hour clock `12H` or 24-hour clock `24H`.


# File 'lib/basecrm/models/account.rb', line 30

#timezoneString

Returns Timezone of the account as the offset from Coordinated Universal Time (UTC) in the format `UTC(+|-):[mm]`.

Returns:

  • (String)

    Timezone of the account as the offset from Coordinated Universal Time (UTC) in the format `UTC(+|-):[mm]`.


# File 'lib/basecrm/models/account.rb', line 30

#updated_atDateTime (readonly)

Returns Date and time of the last update in UTC (ISO8601 format).

Returns:

  • (DateTime)

    Date and time of the last update in UTC (ISO8601 format).


# File 'lib/basecrm/models/account.rb', line 5