class Fitbark::Data::Picture
Defines structure for picture data.
Original attribute names from source API:
-
data
Public Instance Methods
base64()
click to toggle source
an alias for data attribute
# File lib/fitbark/data/picture.rb, line 11 def base64 self[:data] end
bytes()
click to toggle source
decode data from base64
# File lib/fitbark/data/picture.rb, line 16 def bytes Base64.decode64(data) end