Class: PipeRocket::File
Instance Method Summary collapse
-
#initialize(hash) ⇒ File
constructor
A new instance of File.
Methods inherited from Entity
#assign_custom_fields, #transform_field_name
Constructor Details
#initialize(hash) ⇒ File
Returns a new instance of File.
3 4 5 6 |
# File 'lib/pipe_rocket/file.rb', line 3 def initialize(hash) super(hash) @url = Pipedrive.files.file_url(self.id) end |