doc/Trello/Attachment.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
Class: Trello::Attachment
— Documentation by YARD 0.9.25
</title>
<link rel="stylesheet" href="../css/style.css" type="text/css" />
<link rel="stylesheet" href="../css/common.css" type="text/css" />
<script type="text/javascript">
pathId = "Trello::Attachment";
relpath = '../';
</script>
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
</head>
<body>
<div class="nav_wrap">
<iframe id="nav" src="../class_list.html?1"></iframe>
<div id="resizer"></div>
</div>
<div id="main" tabindex="-1">
<div id="header">
<div id="menu">
<a href="../_index.html">Index (A)</a> »
<span class='title'><span class='object_link'><a href="../Trello.html" title="Trello (module)">Trello</a></span></span>
»
<span class="title">Attachment</span>
</div>
<div id="search">
<a class="full_list_link" id="class_list_link"
href="../class_list.html">
<svg width="24" height="24">
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
</svg>
</a>
</div>
<div class="clear"></div>
</div>
<div id="content"><h1>Class: Trello::Attachment
</h1>
<div class="box_info">
<dl>
<dt>Inherits:</dt>
<dd>
<span class="inheritName"><span class='object_link'><a href="BasicData.html" title="Trello::BasicData (class)">BasicData</a></span></span>
<ul class="fullTree">
<li>Object</li>
<li class="next"><span class='object_link'><a href="BasicData.html" title="Trello::BasicData (class)">BasicData</a></span></li>
<li class="next">Trello::Attachment</li>
</ul>
<a href="#" class="inheritanceTree">show all</a>
</dd>
</dl>
<dl>
<dt>Defined in:</dt>
<dd>lib/trello/attachment.rb</dd>
</dl>
</div>
<h2>Overview</h2><div class="docstring">
<div class="discussion">
<p>A file or url that is linked to a Trello card</p>
</div>
</div>
<div class="tags">
</div><div id="subclasses">
<h2>Direct Known Subclasses</h2>
<p class="children"><span class='object_link'><a href="CoverImage.html" title="Trello::CoverImage (class)">CoverImage</a></span></p>
</div>
<h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
<ul class="summary">
<li class="public ">
<span class="summary_signature">
<a href="#bytes-instance_method" title="#bytes (instance method)">#<strong>bytes</strong> ⇒ Fixnum </a>
</span>
<span class="note title readonly">readonly</span>
<span class="summary_desc"><div class='inline'></div></span>
</li>
<li class="public ">
<span class="summary_signature">
<a href="#date-instance_method" title="#date (instance method)">#<strong>date</strong> ⇒ Datetime </a>
</span>
<span class="note title readonly">readonly</span>
<span class="summary_desc"><div class='inline'></div></span>
</li>
<li class="public ">
<span class="summary_signature">
<a href="#edge_color-instance_method" title="#edge_color (instance method)">#<strong>edge_color</strong> ⇒ String </a>
</span>
<span class="note title readonly">readonly</span>
<span class="summary_desc"><div class='inline'></div></span>
</li>
<li class="public ">
<span class="summary_signature">
<a href="#file=-instance_method" title="#file= (instance method)">#<strong>file</strong> ⇒ String </a>
</span>
<span class="note title writeonly">writeonly</span>
<span class="summary_desc"><div class='inline'></div></span>
</li>
<li class="public ">
<span class="summary_signature">
<a href="#file_name-instance_method" title="#file_name (instance method)">#<strong>file_name</strong> ⇒ String </a>
</span>
<span class="note title readonly">readonly</span>
<span class="summary_desc"><div class='inline'></div></span>
</li>
<li class="public ">
<span class="summary_signature">
<a href="#id-instance_method" title="#id (instance method)">#<strong>id</strong> ⇒ String </a>
</span>
<span class="note title readonly">readonly</span>
<span class="summary_desc"><div class='inline'></div></span>
</li>
<li class="public ">
<span class="summary_signature">
<a href="#is_upload-instance_method" title="#is_upload (instance method)">#<strong>is_upload</strong> ⇒ Boolean </a>
</span>
<span class="note title readonly">readonly</span>
<span class="summary_desc"><div class='inline'></div></span>
</li>
<li class="public ">
<span class="summary_signature">
<a href="#member_id-instance_method" title="#member_id (instance method)">#<strong>member_id</strong> ⇒ String </a>
</span>
<span class="note title readonly">readonly</span>
<span class="summary_desc"><div class='inline'></div></span>
</li>
<li class="public ">
<span class="summary_signature">
<a href="#mime_type-instance_method" title="#mime_type (instance method)">#<strong>mime_type</strong> ⇒ String </a>
</span>
<span class="summary_desc"><div class='inline'></div></span>
</li>
<li class="public ">
<span class="summary_signature">
<a href="#name-instance_method" title="#name (instance method)">#<strong>name</strong> ⇒ String </a>
</span>
<span class="summary_desc"><div class='inline'></div></span>
</li>
<li class="public ">
<span class="summary_signature">
<a href="#position-instance_method" title="#position (instance method)">#<strong>position</strong> ⇒ Float </a>
</span>
<span class="note title readonly">readonly</span>
<span class="summary_desc"><div class='inline'></div></span>
</li>
<li class="public ">
<span class="summary_signature">
<a href="#previews-instance_method" title="#previews (instance method)">#<strong>previews</strong> ⇒ Array </a>
</span>
<span class="note title readonly">readonly</span>
<span class="summary_desc"><div class='inline'></div></span>
</li>
<li class="public ">
<span class="summary_signature">
<a href="#set_as_cover=-instance_method" title="#set_as_cover= (instance method)">#<strong>set_as_cover</strong> ⇒ Boolean </a>
</span>
<span class="note title writeonly">writeonly</span>
<span class="summary_desc"><div class='inline'></div></span>
</li>
<li class="public ">
<span class="summary_signature">
<a href="#url-instance_method" title="#url (instance method)">#<strong>url</strong> ⇒ String </a>
</span>
<span class="summary_desc"><div class='inline'></div></span>
</li>
</ul>
<h3 class="inherited">Attributes inherited from <span class='object_link'><a href="BasicData.html" title="Trello::BasicData (class)">BasicData</a></span></h3>
<p class="inherited"><span class='object_link'><a href="BasicData.html#client-instance_method" title="Trello::BasicData#client (method)">#client</a></span></p>
<h2>Method Summary</h2>
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="BasicData.html" title="Trello::BasicData (class)">BasicData</a></span></h3>
<p class="inherited"><span class='object_link'><a href="BasicData.html#==-instance_method" title="Trello::BasicData#== (method)">#==</a></span>, <span class='object_link'><a href="BasicData.html#attributes-instance_method" title="Trello::BasicData#attributes (method)">#attributes</a></span>, <span class='object_link'><a href="BasicData.html#client-class_method" title="Trello::BasicData.client (method)">client</a></span>, <span class='object_link'><a href="BasicData.html#collection_name-instance_method" title="Trello::BasicData#collection_name (method)">#collection_name</a></span>, <span class='object_link'><a href="BasicData.html#collection_path-instance_method" title="Trello::BasicData#collection_path (method)">#collection_path</a></span>, <span class='object_link'><a href="BasicData.html#create-class_method" title="Trello::BasicData.create (method)">create</a></span>, <span class='object_link'><a href="BasicData.html#element_name-instance_method" title="Trello::BasicData#element_name (method)">#element_name</a></span>, <span class='object_link'><a href="BasicData.html#element_path-instance_method" title="Trello::BasicData#element_path (method)">#element_path</a></span>, <span class='object_link'><a href="BasicData.html#find-class_method" title="Trello::BasicData.find (method)">find</a></span>, <span class='object_link'><a href="BasicData.html#hash-instance_method" title="Trello::BasicData#hash (method)">#hash</a></span>, <span class='object_link'><a href="BasicData.html#initialize-instance_method" title="Trello::BasicData#initialize (method)">#initialize</a></span>, <span class='object_link'><a href="BasicData.html#many-class_method" title="Trello::BasicData.many (method)">many</a></span>, <span class='object_link'><a href="BasicData.html#one-class_method" title="Trello::BasicData.one (method)">one</a></span>, <span class='object_link'><a href="BasicData.html#parse-class_method" title="Trello::BasicData.parse (method)">parse</a></span>, <span class='object_link'><a href="BasicData.html#parse_many-class_method" title="Trello::BasicData.parse_many (method)">parse_many</a></span>, <span class='object_link'><a href="BasicData.html#path_name-class_method" title="Trello::BasicData.path_name (method)">path_name</a></span>, <span class='object_link'><a href="BasicData.html#refresh!-instance_method" title="Trello::BasicData#refresh! (method)">#refresh!</a></span>, <span class='object_link'><a href="BasicData.html#register_attrs-class_method" title="Trello::BasicData.register_attrs (method)">register_attrs</a></span>, <span class='object_link'><a href="BasicData.html#save-class_method" title="Trello::BasicData.save (method)">save</a></span>, <span class='object_link'><a href="BasicData.html#save-instance_method" title="Trello::BasicData#save (method)">#save</a></span>, <span class='object_link'><a href="BasicData.html#schema-class_method" title="Trello::BasicData.schema (method)">schema</a></span>, <span class='object_link'><a href="BasicData.html#schema-instance_method" title="Trello::BasicData#schema (method)">#schema</a></span>, <span class='object_link'><a href="BasicData.html#update!-instance_method" title="Trello::BasicData#update! (method)">#update!</a></span>, <span class='object_link'><a href="BasicData.html#update_fields-instance_method" title="Trello::BasicData#update_fields (method)">#update_fields</a></span></p>
<h3 class="inherited">Methods included from <span class='object_link'><a href="JsonUtils.html" title="Trello::JsonUtils (module)">JsonUtils</a></span></h3>
<p class="inherited"><span class='object_link'><a href="JsonUtils.html#included-class_method" title="Trello::JsonUtils.included (method)">included</a></span></p>
<div id="constructor_details" class="method_details_list">
<h2>Constructor Details</h2>
<p class="notice">This class inherits a constructor from <span class='object_link'><a href="BasicData.html#initialize-instance_method" title="Trello::BasicData#initialize (method)">Trello::BasicData</a></span></p>
</div>
<div id="instance_attr_details" class="attr_details">
<h2>Instance Attribute Details</h2>
<span id=""></span>
<div class="method_details first">
<h3 class="signature first" id="bytes-instance_method">
#<strong>bytes</strong> ⇒ <tt>Fixnum</tt> <span class="extras">(readonly)</span>
</h3><div class="docstring">
<div class="discussion">
</div>
</div>
<div class="tags">
<p class="tag_title">Returns:</p>
<ul class="return">
<li>
<span class='type'>(<tt>Fixnum</tt>)</span>
</li>
</ul>
</div><table class="source_code">
<tr>
<td>
<pre class="lines">
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'lib/trello/attachment.rb', line 32</span>
<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Attachment (class)">Attachment</a></span></span> <span class='op'><</span> <span class='const'><span class='object_link'><a href="BasicData.html" title="Trello::BasicData (class)">BasicData</a></span></span>
<span class='id identifier rubyid_schema'>schema</span> <span class='kw'>do</span>
<span class='comment'># Readonly
</span> <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>primary_key:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:position</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>pos</span><span class='tstring_end'>'</span></span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:bytes</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:member_id</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>idMember</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:date</span><span class='comma'>,</span> <span class='label'>serializer:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Time</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:is_upload</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>isUpload</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:previews</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:file_name</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>fileName</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:edge_color</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>edgeColor</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='comment'># Writable but create only
</span> <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:name</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:url</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:mime_type</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>mimeType</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:file</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:set_as_cover</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>setCover</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span>
<span class='kw'>end</span>
<span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
<span id=""></span>
<div class="method_details ">
<h3 class="signature " id="date-instance_method">
#<strong>date</strong> ⇒ <tt>Datetime</tt> <span class="extras">(readonly)</span>
</h3><div class="docstring">
<div class="discussion">
</div>
</div>
<div class="tags">
<p class="tag_title">Returns:</p>
<ul class="return">
<li>
<span class='type'>(<tt>Datetime</tt>)</span>
</li>
</ul>
</div><table class="source_code">
<tr>
<td>
<pre class="lines">
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'lib/trello/attachment.rb', line 32</span>
<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Attachment (class)">Attachment</a></span></span> <span class='op'><</span> <span class='const'><span class='object_link'><a href="BasicData.html" title="Trello::BasicData (class)">BasicData</a></span></span>
<span class='id identifier rubyid_schema'>schema</span> <span class='kw'>do</span>
<span class='comment'># Readonly
</span> <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>primary_key:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:position</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>pos</span><span class='tstring_end'>'</span></span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:bytes</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:member_id</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>idMember</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:date</span><span class='comma'>,</span> <span class='label'>serializer:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Time</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:is_upload</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>isUpload</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:previews</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:file_name</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>fileName</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:edge_color</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>edgeColor</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='comment'># Writable but create only
</span> <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:name</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:url</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:mime_type</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>mimeType</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:file</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:set_as_cover</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>setCover</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span>
<span class='kw'>end</span>
<span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
<span id=""></span>
<div class="method_details ">
<h3 class="signature " id="edge_color-instance_method">
#<strong>edge_color</strong> ⇒ <tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt> <span class="extras">(readonly)</span>
</h3><div class="docstring">
<div class="discussion">
</div>
</div>
<div class="tags">
<p class="tag_title">Returns:</p>
<ul class="return">
<li>
<span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
</li>
</ul>
</div><table class="source_code">
<tr>
<td>
<pre class="lines">
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'lib/trello/attachment.rb', line 32</span>
<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Attachment (class)">Attachment</a></span></span> <span class='op'><</span> <span class='const'><span class='object_link'><a href="BasicData.html" title="Trello::BasicData (class)">BasicData</a></span></span>
<span class='id identifier rubyid_schema'>schema</span> <span class='kw'>do</span>
<span class='comment'># Readonly
</span> <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>primary_key:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:position</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>pos</span><span class='tstring_end'>'</span></span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:bytes</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:member_id</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>idMember</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:date</span><span class='comma'>,</span> <span class='label'>serializer:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Time</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:is_upload</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>isUpload</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:previews</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:file_name</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>fileName</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:edge_color</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>edgeColor</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='comment'># Writable but create only
</span> <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:name</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:url</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:mime_type</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>mimeType</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:file</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:set_as_cover</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>setCover</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span>
<span class='kw'>end</span>
<span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
<span id=""></span>
<div class="method_details ">
<h3 class="signature " id="file=-instance_method">
#<strong>file=</strong>(value) ⇒ <tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt> <span class="extras">(writeonly)</span>
</h3><div class="docstring">
<div class="discussion">
</div>
</div>
<div class="tags">
<p class="tag_title">Returns:</p>
<ul class="return">
<li>
<span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
</li>
</ul>
</div><table class="source_code">
<tr>
<td>
<pre class="lines">
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'lib/trello/attachment.rb', line 32</span>
<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Attachment (class)">Attachment</a></span></span> <span class='op'><</span> <span class='const'><span class='object_link'><a href="BasicData.html" title="Trello::BasicData (class)">BasicData</a></span></span>
<span class='id identifier rubyid_schema'>schema</span> <span class='kw'>do</span>
<span class='comment'># Readonly
</span> <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>primary_key:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:position</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>pos</span><span class='tstring_end'>'</span></span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:bytes</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:member_id</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>idMember</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:date</span><span class='comma'>,</span> <span class='label'>serializer:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Time</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:is_upload</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>isUpload</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:previews</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:file_name</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>fileName</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:edge_color</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>edgeColor</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='comment'># Writable but create only
</span> <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:name</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:url</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:mime_type</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>mimeType</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:file</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:set_as_cover</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>setCover</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span>
<span class='kw'>end</span>
<span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
<span id=""></span>
<div class="method_details ">
<h3 class="signature " id="file_name-instance_method">
#<strong>file_name</strong> ⇒ <tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt> <span class="extras">(readonly)</span>
</h3><div class="docstring">
<div class="discussion">
</div>
</div>
<div class="tags">
<p class="tag_title">Returns:</p>
<ul class="return">
<li>
<span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
</li>
</ul>
</div><table class="source_code">
<tr>
<td>
<pre class="lines">
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'lib/trello/attachment.rb', line 32</span>
<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Attachment (class)">Attachment</a></span></span> <span class='op'><</span> <span class='const'><span class='object_link'><a href="BasicData.html" title="Trello::BasicData (class)">BasicData</a></span></span>
<span class='id identifier rubyid_schema'>schema</span> <span class='kw'>do</span>
<span class='comment'># Readonly
</span> <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>primary_key:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:position</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>pos</span><span class='tstring_end'>'</span></span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:bytes</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:member_id</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>idMember</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:date</span><span class='comma'>,</span> <span class='label'>serializer:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Time</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:is_upload</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>isUpload</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:previews</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:file_name</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>fileName</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:edge_color</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>edgeColor</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='comment'># Writable but create only
</span> <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:name</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:url</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:mime_type</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>mimeType</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:file</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:set_as_cover</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>setCover</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span>
<span class='kw'>end</span>
<span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
<span id=""></span>
<div class="method_details ">
<h3 class="signature " id="id-instance_method">
#<strong>id</strong> ⇒ <tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt> <span class="extras">(readonly)</span>
</h3><div class="docstring">
<div class="discussion">
</div>
</div>
<div class="tags">
<p class="tag_title">Returns:</p>
<ul class="return">
<li>
<span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
</li>
</ul>
</div><table class="source_code">
<tr>
<td>
<pre class="lines">
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'lib/trello/attachment.rb', line 32</span>
<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Attachment (class)">Attachment</a></span></span> <span class='op'><</span> <span class='const'><span class='object_link'><a href="BasicData.html" title="Trello::BasicData (class)">BasicData</a></span></span>
<span class='id identifier rubyid_schema'>schema</span> <span class='kw'>do</span>
<span class='comment'># Readonly
</span> <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>primary_key:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:position</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>pos</span><span class='tstring_end'>'</span></span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:bytes</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:member_id</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>idMember</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:date</span><span class='comma'>,</span> <span class='label'>serializer:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Time</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:is_upload</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>isUpload</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:previews</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:file_name</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>fileName</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:edge_color</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>edgeColor</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='comment'># Writable but create only
</span> <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:name</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:url</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:mime_type</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>mimeType</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:file</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:set_as_cover</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>setCover</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span>
<span class='kw'>end</span>
<span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
<span id=""></span>
<div class="method_details ">
<h3 class="signature " id="is_upload-instance_method">
#<strong>is_upload</strong> ⇒ <tt>Boolean</tt> <span class="extras">(readonly)</span>
</h3><div class="docstring">
<div class="discussion">
</div>
</div>
<div class="tags">
<p class="tag_title">Returns:</p>
<ul class="return">
<li>
<span class='type'>(<tt>Boolean</tt>)</span>
</li>
</ul>
</div><table class="source_code">
<tr>
<td>
<pre class="lines">
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'lib/trello/attachment.rb', line 32</span>
<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Attachment (class)">Attachment</a></span></span> <span class='op'><</span> <span class='const'><span class='object_link'><a href="BasicData.html" title="Trello::BasicData (class)">BasicData</a></span></span>
<span class='id identifier rubyid_schema'>schema</span> <span class='kw'>do</span>
<span class='comment'># Readonly
</span> <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>primary_key:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:position</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>pos</span><span class='tstring_end'>'</span></span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:bytes</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:member_id</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>idMember</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:date</span><span class='comma'>,</span> <span class='label'>serializer:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Time</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:is_upload</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>isUpload</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:previews</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:file_name</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>fileName</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:edge_color</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>edgeColor</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='comment'># Writable but create only
</span> <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:name</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:url</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:mime_type</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>mimeType</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:file</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:set_as_cover</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>setCover</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span>
<span class='kw'>end</span>
<span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
<span id=""></span>
<div class="method_details ">
<h3 class="signature " id="member_id-instance_method">
#<strong>member_id</strong> ⇒ <tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt> <span class="extras">(readonly)</span>
</h3><div class="docstring">
<div class="discussion">
</div>
</div>
<div class="tags">
<p class="tag_title">Returns:</p>
<ul class="return">
<li>
<span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
</li>
</ul>
</div><table class="source_code">
<tr>
<td>
<pre class="lines">
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'lib/trello/attachment.rb', line 32</span>
<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Attachment (class)">Attachment</a></span></span> <span class='op'><</span> <span class='const'><span class='object_link'><a href="BasicData.html" title="Trello::BasicData (class)">BasicData</a></span></span>
<span class='id identifier rubyid_schema'>schema</span> <span class='kw'>do</span>
<span class='comment'># Readonly
</span> <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>primary_key:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:position</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>pos</span><span class='tstring_end'>'</span></span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:bytes</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:member_id</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>idMember</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:date</span><span class='comma'>,</span> <span class='label'>serializer:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Time</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:is_upload</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>isUpload</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:previews</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:file_name</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>fileName</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:edge_color</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>edgeColor</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='comment'># Writable but create only
</span> <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:name</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:url</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:mime_type</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>mimeType</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:file</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:set_as_cover</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>setCover</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span>
<span class='kw'>end</span>
<span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
<span id="mime_type=-instance_method"></span>
<div class="method_details ">
<h3 class="signature " id="mime_type-instance_method">
#<strong>mime_type</strong> ⇒ <tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>
</h3><div class="docstring">
<div class="discussion">
</div>
</div>
<div class="tags">
<p class="tag_title">Returns:</p>
<ul class="return">
<li>
<span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
</li>
</ul>
</div><table class="source_code">
<tr>
<td>
<pre class="lines">
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'lib/trello/attachment.rb', line 32</span>
<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Attachment (class)">Attachment</a></span></span> <span class='op'><</span> <span class='const'><span class='object_link'><a href="BasicData.html" title="Trello::BasicData (class)">BasicData</a></span></span>
<span class='id identifier rubyid_schema'>schema</span> <span class='kw'>do</span>
<span class='comment'># Readonly
</span> <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>primary_key:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:position</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>pos</span><span class='tstring_end'>'</span></span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:bytes</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:member_id</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>idMember</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:date</span><span class='comma'>,</span> <span class='label'>serializer:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Time</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:is_upload</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>isUpload</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:previews</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:file_name</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>fileName</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:edge_color</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>edgeColor</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='comment'># Writable but create only
</span> <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:name</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:url</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:mime_type</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>mimeType</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:file</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:set_as_cover</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>setCover</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span>
<span class='kw'>end</span>
<span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
<span id="name=-instance_method"></span>
<div class="method_details ">
<h3 class="signature " id="name-instance_method">
#<strong>name</strong> ⇒ <tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>
</h3><div class="docstring">
<div class="discussion">
</div>
</div>
<div class="tags">
<p class="tag_title">Returns:</p>
<ul class="return">
<li>
<span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
</li>
</ul>
</div><table class="source_code">
<tr>
<td>
<pre class="lines">
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'lib/trello/attachment.rb', line 32</span>
<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Attachment (class)">Attachment</a></span></span> <span class='op'><</span> <span class='const'><span class='object_link'><a href="BasicData.html" title="Trello::BasicData (class)">BasicData</a></span></span>
<span class='id identifier rubyid_schema'>schema</span> <span class='kw'>do</span>
<span class='comment'># Readonly
</span> <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>primary_key:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:position</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>pos</span><span class='tstring_end'>'</span></span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:bytes</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:member_id</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>idMember</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:date</span><span class='comma'>,</span> <span class='label'>serializer:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Time</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:is_upload</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>isUpload</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:previews</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:file_name</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>fileName</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:edge_color</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>edgeColor</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='comment'># Writable but create only
</span> <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:name</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:url</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:mime_type</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>mimeType</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:file</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:set_as_cover</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>setCover</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span>
<span class='kw'>end</span>
<span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
<span id=""></span>
<div class="method_details ">
<h3 class="signature " id="position-instance_method">
#<strong>position</strong> ⇒ <tt>Float</tt> <span class="extras">(readonly)</span>
</h3><div class="docstring">
<div class="discussion">
</div>
</div>
<div class="tags">
<p class="tag_title">Returns:</p>
<ul class="return">
<li>
<span class='type'>(<tt>Float</tt>)</span>
</li>
</ul>
</div><table class="source_code">
<tr>
<td>
<pre class="lines">
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'lib/trello/attachment.rb', line 32</span>
<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Attachment (class)">Attachment</a></span></span> <span class='op'><</span> <span class='const'><span class='object_link'><a href="BasicData.html" title="Trello::BasicData (class)">BasicData</a></span></span>
<span class='id identifier rubyid_schema'>schema</span> <span class='kw'>do</span>
<span class='comment'># Readonly
</span> <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>primary_key:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:position</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>pos</span><span class='tstring_end'>'</span></span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:bytes</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:member_id</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>idMember</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:date</span><span class='comma'>,</span> <span class='label'>serializer:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Time</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:is_upload</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>isUpload</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:previews</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:file_name</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>fileName</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:edge_color</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>edgeColor</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='comment'># Writable but create only
</span> <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:name</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:url</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:mime_type</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>mimeType</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:file</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:set_as_cover</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>setCover</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span>
<span class='kw'>end</span>
<span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
<span id=""></span>
<div class="method_details ">
<h3 class="signature " id="previews-instance_method">
#<strong>previews</strong> ⇒ <tt><span class='object_link'><a href="../Array.html" title="Array (class)">Array</a></span></tt> <span class="extras">(readonly)</span>
</h3><div class="docstring">
<div class="discussion">
</div>
</div>
<div class="tags">
<p class="tag_title">Returns:</p>
<ul class="return">
<li>
<span class='type'>(<tt><span class='object_link'><a href="../Array.html" title="Array (class)">Array</a></span></tt>)</span>
</li>
</ul>
</div><table class="source_code">
<tr>
<td>
<pre class="lines">
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'lib/trello/attachment.rb', line 32</span>
<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Attachment (class)">Attachment</a></span></span> <span class='op'><</span> <span class='const'><span class='object_link'><a href="BasicData.html" title="Trello::BasicData (class)">BasicData</a></span></span>
<span class='id identifier rubyid_schema'>schema</span> <span class='kw'>do</span>
<span class='comment'># Readonly
</span> <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>primary_key:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:position</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>pos</span><span class='tstring_end'>'</span></span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:bytes</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:member_id</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>idMember</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:date</span><span class='comma'>,</span> <span class='label'>serializer:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Time</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:is_upload</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>isUpload</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:previews</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:file_name</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>fileName</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:edge_color</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>edgeColor</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='comment'># Writable but create only
</span> <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:name</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:url</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:mime_type</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>mimeType</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:file</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:set_as_cover</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>setCover</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span>
<span class='kw'>end</span>
<span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
<span id=""></span>
<div class="method_details ">
<h3 class="signature " id="set_as_cover=-instance_method">
#<strong>set_as_cover=</strong>(value) ⇒ <tt>Boolean</tt> <span class="extras">(writeonly)</span>
</h3><div class="docstring">
<div class="discussion">
</div>
</div>
<div class="tags">
<p class="tag_title">Returns:</p>
<ul class="return">
<li>
<span class='type'>(<tt>Boolean</tt>)</span>
</li>
</ul>
</div><table class="source_code">
<tr>
<td>
<pre class="lines">
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'lib/trello/attachment.rb', line 32</span>
<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Attachment (class)">Attachment</a></span></span> <span class='op'><</span> <span class='const'><span class='object_link'><a href="BasicData.html" title="Trello::BasicData (class)">BasicData</a></span></span>
<span class='id identifier rubyid_schema'>schema</span> <span class='kw'>do</span>
<span class='comment'># Readonly
</span> <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>primary_key:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:position</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>pos</span><span class='tstring_end'>'</span></span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:bytes</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:member_id</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>idMember</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:date</span><span class='comma'>,</span> <span class='label'>serializer:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Time</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:is_upload</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>isUpload</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:previews</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:file_name</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>fileName</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:edge_color</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>edgeColor</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='comment'># Writable but create only
</span> <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:name</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:url</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:mime_type</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>mimeType</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:file</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:set_as_cover</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>setCover</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span>
<span class='kw'>end</span>
<span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
<span id="url=-instance_method"></span>
<div class="method_details ">
<h3 class="signature " id="url-instance_method">
#<strong>url</strong> ⇒ <tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>
</h3><div class="docstring">
<div class="discussion">
</div>
</div>
<div class="tags">
<p class="tag_title">Returns:</p>
<ul class="return">
<li>
<span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
</li>
</ul>
</div><table class="source_code">
<tr>
<td>
<pre class="lines">
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'lib/trello/attachment.rb', line 32</span>
<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Attachment (class)">Attachment</a></span></span> <span class='op'><</span> <span class='const'><span class='object_link'><a href="BasicData.html" title="Trello::BasicData (class)">BasicData</a></span></span>
<span class='id identifier rubyid_schema'>schema</span> <span class='kw'>do</span>
<span class='comment'># Readonly
</span> <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>primary_key:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:position</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>pos</span><span class='tstring_end'>'</span></span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:bytes</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:member_id</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>idMember</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:date</span><span class='comma'>,</span> <span class='label'>serializer:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Time</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:is_upload</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>isUpload</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:previews</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:file_name</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>fileName</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:edge_color</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>edgeColor</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
<span class='comment'># Writable but create only
</span> <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:name</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:url</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:mime_type</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>mimeType</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:file</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span>
<span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:set_as_cover</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>setCover</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span>
<span class='kw'>end</span>
<span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
</div>
</div>
<div id="footer">
Generated on Tue Nov 10 16:31:56 2020 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.25 (ruby-2.6.6).
</div>
</div>
</body>
</html>