Class: Trello::PluginDatum

Inherits:
BasicData show all
Defined in:
lib/trello/plugin_datum.rb

Overview

A file or url that is linked to a Trello card

Instance Attribute Summary collapse

Attributes inherited from BasicData

#client

Method Summary

Methods inherited from BasicData

#==, #attributes, client, #collection_name, #collection_path, create, #element_name, #element_path, find, #hash, #initialize, many, one, parse, parse_many, path_name, #refresh!, register_attrs, #save, save, schema, #schema, #update!, #update_fields

Methods included from JsonUtils

included

Constructor Details

This class inherits a constructor from Trello::BasicData

Instance Attribute Details

#accessString

Returns:



16
17
18
19
20
21
22
23
24
25
26
27
# File 'lib/trello/plugin_datum.rb', line 16

class PluginDatum < BasicData

  schema do
    attribute :id, readonly: true
    attribute :plugin_id, readonly: true, remote_key: 'idPlugin'
    attribute :scope, readonly: true
    attribute :model_id, readonly: true, remote_key: 'idModel'
    attribute :value, readonly: true, remote_key: 'value'
    attribute :access, readonly: true
  end

end

#idString

Returns:



16
17
18
19
20
21
22
23
24
25
26
27
# File 'lib/trello/plugin_datum.rb', line 16

class PluginDatum < BasicData

  schema do
    attribute :id, readonly: true
    attribute :plugin_id, readonly: true, remote_key: 'idPlugin'
    attribute :scope, readonly: true
    attribute :model_id, readonly: true, remote_key: 'idModel'
    attribute :value, readonly: true, remote_key: 'value'
    attribute :access, readonly: true
  end

end

#model_idString

Returns:



16
17
18
19
20
21
22
23
24
25
26
27
# File 'lib/trello/plugin_datum.rb', line 16

class PluginDatum < BasicData

  schema do
    attribute :id, readonly: true
    attribute :plugin_id, readonly: true, remote_key: 'idPlugin'
    attribute :scope, readonly: true
    attribute :model_id, readonly: true, remote_key: 'idModel'
    attribute :value, readonly: true, remote_key: 'value'
    attribute :access, readonly: true
  end

end

#plugin_idString

Returns:



16
17
18
19
20
21
22
23
24
25
26
27
# File 'lib/trello/plugin_datum.rb', line 16

class PluginDatum < BasicData

  schema do
    attribute :id, readonly: true
    attribute :plugin_id, readonly: true, remote_key: 'idPlugin'
    attribute :scope, readonly: true
    attribute :model_id, readonly: true, remote_key: 'idModel'
    attribute :value, readonly: true, remote_key: 'value'
    attribute :access, readonly: true
  end

end

#scopeString

Returns:



16
17
18
19
20
21
22
23
24
25
26
27
# File 'lib/trello/plugin_datum.rb', line 16

class PluginDatum < BasicData

  schema do
    attribute :id, readonly: true
    attribute :plugin_id, readonly: true, remote_key: 'idPlugin'
    attribute :scope, readonly: true
    attribute :model_id, readonly: true, remote_key: 'idModel'
    attribute :value, readonly: true, remote_key: 'value'
    attribute :access, readonly: true
  end

end

#valueString

Returns:



16
17
18
19
20
21
22
23
24
25
26
27
# File 'lib/trello/plugin_datum.rb', line 16

class PluginDatum < BasicData

  schema do
    attribute :id, readonly: true
    attribute :plugin_id, readonly: true, remote_key: 'idPlugin'
    attribute :scope, readonly: true
    attribute :model_id, readonly: true, remote_key: 'idModel'
    attribute :value, readonly: true, remote_key: 'value'
    attribute :access, readonly: true
  end

end