Sha256: 7f44298bcde3f775fc433c05552e2d332dc8eeda11250b4a54ec6c125bfdd04a

Contents?: true

Size: 534 Bytes

Versions: 6

Compression:

Stored size: 534 Bytes

Contents

module GData
  include_package 'com.google.gdata.client.authn.oauth'
end

class Java::ComGoogleGdataClientAuthnOauth::GoogleOAuthParameters
  def attributes=(credentials = {})    
    self.oauth_consumer_key = credentials[:consumer_key] if credentials[:consumer_key]
    self.oauth_consumer_secret = credentials[:consumer_secret] if credentials[:consumer_secret]
    self.oauth_token = credentials[:token] if credentials[:token]
    self.oauth_token_secret = credentials[:token_secret] if credentials[:token_secret]
    self
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
gdata-jruby-client-0.7.5 lib/google_oauth_parameters.rb
gdata-jruby-client-0.7.4 lib/google_oauth_parameters.rb
gdata-jruby-client-0.7.3 lib/google_oauth_parameters.rb
gdata-jruby-client-0.7.2 lib/google_oauth_parameters.rb
gdata-jruby-client-0.7.1 lib/google_oauth_parameters.rb
gdata-jruby-client-0.7.0 lib/google_oauth_parameters.rb