Class: Fog::Compute::Packet::Emails

Inherits:
Fog::Collection
  • Object
show all
Defined in:
lib/fog/compute/packet/models/emails.rb

Overview

Projects Collection

Instance Method Summary collapse

Instance Method Details

#get(id) ⇒ Object



10
11
12
13
# File 'lib/fog/compute/packet/models/emails.rb', line 10

def get(id)
  response = service.get_email(id)
  new(response.body)
end