lib/contextio/message.rb in contextio-1.2.4 vs lib/contextio/message.rb in contextio-1.3.0
- old
+ new
@@ -46,9 +46,13 @@
def headers
api.request(:get, "#{resource_url}/headers")
end
+ def from
+ addresses['from']
+ end
+
def raw
api.raw_request(:get, "#{resource_url}/source")
end
# You can call this with a Folder object, in which case, the source from the