Class: PipeRocket::File

Inherits:
Entity
  • Object
show all
Defined in:
lib/pipe_rocket/file.rb

Instance Method Summary collapse

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