Module: Googletastic::Mixins::Requesting::InstanceMethods

Defined in:
lib/googletastic/mixins/requesting.rb

Instance Method Summary collapse

Instance Method Details

#clientObject



75
76
77
# File 'lib/googletastic/mixins/requesting.rb', line 75

def client
  self.class.client
end

#has_attachment?Boolean

Returns:

  • (Boolean)


71
72
73
# File 'lib/googletastic/mixins/requesting.rb', line 71

def has_attachment?
  !self.attachment_path.nil?
end

#mime_typeObject



79
80
81
82
# File 'lib/googletastic/mixins/requesting.rb', line 79

def mime_type
  return "" if has_attachment?
  return "" #TODO
end